package com.finace.money.di.component;

import com.finace.money.di.FragmentScope;
import com.finace.money.di.module.DealRecordModule;
import com.finace.money.di.module.MainNewsModule;
import com.finace.money.ui.fragment.MainNewsFragment;

import dagger.Component;
import dagger.Module;

/**
 * Created by zhangpeng on 2018/1/27.
 */

@FragmentScope
@Component(modules = {MainNewsModule.class, DealRecordModule.class}, dependencies = AppComponent.class)
public interface MainNewsComponent {

    void inject(MainNewsFragment fragment);
}
